[][src]Crate rustc_ap_rustc_fs_util

Enums

LinkOrCopy
RenameOrCopyRemove

Functions

fix_windows_verbatim_for_gcc
link_or_copy

Copies p into q, preferring to use hard-linking if possible. If q already exists, it is removed first. The result indicates which of the two operations has been performed.

path_to_c_string
rename_or_copy_remove

Rename p into q, preferring to use rename if possible. If rename fails (rename may fail for reasons such as crossing filesystem), fallback to copy & remove